﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustomerEdit.aspx.cs" Inherits="CustomerEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>客户信息编辑</title>
    <LINK href="css/hfmanger.css" type="text/css" rel="stylesheet">
<script language="javascript" type="text/javascript">
<!--

function btnGoUrl_onclick() {
var url=document.getElementById("tbxCustHome");
window.open(url.value);
}

function btnSelClass_onclick() {

}

// -->
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%">
            <tr>
                <td style="width: 265px" class="blueline" height="25">
                    客户编号</td>
                <td colspan="2" class="blueline" height="25" >
                    <asp:TextBox ID="tbxCustCode" runat="server" ReadOnly="True"></asp:TextBox><span
                        style="color: red">*</span></td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    邮编</td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                    <asp:TextBox ID="tbxCustPost" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 265px" class="blueline" height="25">
                    客户名称</td>
                <td colspan="2" class="blueline" height="25" >
                    <asp:TextBox ID="tbxCustCaption" runat="server" Width="235px" ></asp:TextBox></td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    电话</td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                    <asp:TextBox ID="tbxCustTel" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 265px" class="blueline" height="25">
                    法人</td>
                <td colspan="2" class="blueline" height="25" >
                    <asp:TextBox ID="tbxCustCorporation" runat="server"></asp:TextBox></td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    传真</td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                    <asp:TextBox ID="tbxCustFax" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 265px" class="blueline" height="25">
                    银行</td>
                <td colspan="2" class="blueline" height="25" >
                <asp:TextBox ID="tbxCustBank" runat="server" Width="235px" ></asp:TextBox> </td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    联系人</td>
                <td class="blueline" colspan="1" height="25" >
                    <asp:TextBox ID="tbxCustLinkMan" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="blueline" height="25" style="width: 265px">
                    银行帐号</td>
                <td class="blueline" colspan="2" height="25" >
                    <asp:TextBox ID="tbxCustBankAccount" runat="server" Width="235px"></asp:TextBox></td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    Email</td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                    <asp:TextBox ID="tbxCustEmail" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 265px" class="blueline" height="25">
                    税务号</td>
                <td colspan="2" class="blueline" height="25" >
                    <asp:TextBox ID="tbxCustTaxAccount" runat="server" Width="235px"></asp:TextBox></td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    折扣率</td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                    <asp:TextBox ID="tbxCustRebate" runat="server" Width="32px">100</asp:TextBox>%</td>
            </tr>
            <tr>
                <td class="blueline" style="width: 265px" height="25">
                    地址</td>
                <td class="blueline" colspan="2" height="25" >
                    <asp:TextBox ID="tbxCustAddress" runat="server" Width="235px" ></asp:TextBox></td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    分类</td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                    <asp:TextBox ID="tbxCustClassName" runat="server"></asp:TextBox>
                    <input id="btnSelClass" class="btn" type="button" value="选择" language="javascript" onclick="return btnSelClass_onclick()" /></td>
            </tr>
            <tr>
                <td class="blueline" style="width: 265px;" height="25">
                    主页</td>
                <td class="blueline" colspan="4" height="25">
                    <asp:TextBox ID="tbxCustHome" runat="server" Width="237px"></asp:TextBox>
                    <input id="btnGoUrl" class="btn" type="button" value="转到网站" language="javascript" onclick="return btnGoUrl_onclick()" /><asp:TextBox ID="tbxCustClassId" runat="server" Visible="False" Width="25px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="blueline" style="width: 265px" height="25">
                    标志</td>
                <td class="blueline" colspan="2" height="25" >
                    <asp:CheckBox ID="cbxUsed" runat="server" Checked="True" Text="有效" />
                    </td>
                <td class="blueline" colspan="1" height="25" style="width: 315px">
                    状态</td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                <asp:DropDownList ID="drpCustStatus" runat="server" Width="60px">
                        <asp:ListItem Selected="True" Value="0">A</asp:ListItem>
                        <asp:ListItem Value="1">B</asp:ListItem>
                        <asp:ListItem Value="2">C</asp:ListItem>
                        <asp:ListItem Value="3">D</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 265px;" class="blueline" height="25">
                    备注</td>
                <td colspan="4" class="blueline" height="25">
                    <asp:TextBox ID="tbxCustDes" runat="server" Width="90%" TextMode="MultiLine" Height="149px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 265px" class="blueline" height="25">
                </td>
                <td class="blueline" colspan="3" height="25">
                    &nbsp;<asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="增加" CssClass="btn" />
                    <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="修改" CssClass="btn" /></td>
                <td class="blueline" colspan="1" height="25" style="width: 608px">
                    <asp:Label ID="lbCreateUserId" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
